$bc:skyblue;

@mixin fl {
    float: left;
}

;

@mixin fr {
    float: right;
}

;

.all {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#header {
    width: 100%;
    height: 1.33rem;
    background-color: $bc;
    text-align: center;
    font-size: .48rem;
    line-height: 1.33rem;
    padding: 0 .27rem;

    .left {
        @include fl;
        color: white;
    }

    .center {
        display: inline-block;
        font-weight: bold;
        color: white;
    }

    .right {
        @include fr;
        margin-top: .27rem;

        img {
            width: .91rem;
            height: .91rem;
        }
    }
}

main {
    padding: 0 .27rem;
    font-size: .43rem;

    .res {
        border-bottom: 1px solid #ccc;

        h4 {
            margin-top: .53rem;
            width: 100%;
            line-height: 1;
            font-size: .53rem;
            font-weight: bold;
        }

        .other {
            padding: .27rem;
            color: #999999;
            line-height: 1.5;

            span {
                margin-right: .27rem;
            }
        }

        .info {
            padding: 0 .27rem;
            line-height: 1.5;
        }

        .img {
            padding: 0 .27rem;

            img {
                width: 100%;
            }
        }
    }

    .shopping {
        width: 100%;
        text-align: center;

        button {
            margin: .53rem 0;
            font-size: .43rem;
            color: white;
            height: .93rem;
            line-height: .93rem;
            background-color: $bc;
            width: 8rem;
            border-radius: .27rem;
            border: none;
            outline: none;
            display: inline-block;
        }
    }

    .weixin {
        width: 100%;
        padding: .13rem;

        img {
            width: 100%;
        }
    }

    .liuyan {
        textarea {
            padding: 10px;
            width: 100%;
            margin: 0 auto;
            resize: none; //禁止拖拽大小
            height: 100px;
            border: 1px solid #cccccc;
            outline: none;
        }

        .tit {
            width: 100%;
            font-size: .35rem;
            margin: .27rem 0;
        }

        .ctrl {
            margin: .27rem auto 0;
            width: 9.47rem;
            height: 1.33rem;
            background-color: #cccccc;
            position: relative;

            input {

                display: block;
                height: 55px;
                width: 120px;
                background-color: #ff9000;
                border: none;
                position: absolute;
                top: -0.08rem;
                right: 0;
                color: white;
                font-size: .35rem;
            }
        }
    }
}

footer {
    background-color: #f4f4f4;

    .more {
        margin-top: .27rem;
        margin-bottom: .53rem;
        padding: 0 .4rem;

        a {
            background-color: white;
            border-radius: .13rem;
            color: #666666;
            font-size: .35rem;
            line-height: 2;
            text-align: center;
            display: block;
            height: 100%;
        }
    }

    .pingpai {
        margin-bottom: .53rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: $bc;
        height: .93rem;
        color: white;
        font-size: .43rem;
        font-weight: bold;
        padding: 0 .27rem;

        a {
            display: block;
            border: 1px solid white;
            border-radius: .53rem;
            width: .53rem;
            height: .53rem;
            text-indent: .11rem;
            color: white;
        }
    }

    ul {
        margin-top: .27rem;
        height: .88rem;
        width: 100%;
        display: flex;
        text-align: center;
        line-height: .88rem;
        font-size: .37rem;

        li {
            width: 100%;
            height: 100%;
            flex: 1;
            border: 1px solid #ccc;
            color: #666666;

            a {
                color: #666666;
            }
        }
    }

    .foot {
        background-color: #f4f4f4;
        padding-top: .27rem;
        font-size: .37rem;
        line-height: 2;
        text-align: center;

        h6 {
            color: #666666;
        }

        p {
            color: #333333;
            padding-bottom: .27rem;
        }
    }
}